Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

Previous | Chapter Top | Chapter Contents | Next |

Rest Event

The Rest event ( Figure 7 ) specifies the period of time, defined by either the media time scale or the tune player time scale, until the next event in the sequence will be played.

Figure 7 Rest event

Table 4Contents of a Rest event

Rest event type

first nibble value = 000X

Duration

specifies the number of units of time until the next Note event is played in units defined by media time scale or tune player time scale

Macro call used to stuff the Rest event's long word:

qtma_StuffRestEvent(x, duration)

Macro call used to extract the Rest event's duration value:

qtma_RestDuration(x)

Rest events are not used to cause silence in a sequence, but to define the start of subsequent events.


© 1999 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next